<!-- 消防设施分布详情 -->
<template>
	<view class="page">
		<view class="bd-info" v-for="item in 20" :key="item">
			<view class="col">
				<view>
					A区1栋2101-{{item}}
					<text class="btn" :style="{backgroundColor:item%3==0?'rgba(247, 77, 57, 0.15)':'',color:item%3==0?'#F74D39':'#44D94B'}">
						B-A1
					</text>
				</view>
				<text :style="{color:item%3==0?'#F74D39':'#44D94B'}">
					{{item%3==0?'异常':'正常'}}
				</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.btn{
	margin-left: 14upx;
	display: inline-block;
	font-size: 24upx;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: #44D94B;
	line-height: 34upx;
	padding: 4upx 10upx;
	background:rgba(#44D94B,0.15) ;
}
</style>
